package com.gzhryc.shared_device.cdb.code;

import com.gzhryc.common.NumberTools;

public class CDBCostConfig {

    private Integer	depositMoney = 9900;	 //押金，单位：分
    private Integer dayMaxMoney = 3000;     //日最大费用，单位：分
    private Integer payIntervalMoney = 100;     //每小时支付金额，单位：分
    private Integer freeTimes = 3;            //免费时长，单位：分钟
    
    private Boolean wxPreAuthPay = false;			//是否启用免押

    public Integer getDepositMoney() {
        return depositMoney;
    }

    public void setDepositMoney(Integer depositMoney) {
        this.depositMoney = depositMoney;
    }

    public Integer getDayMaxMoney() {
        return dayMaxMoney;
    }

    public void setDayMaxMoney(Integer dayMaxMoney) {
        this.dayMaxMoney = dayMaxMoney;
    }

    public Integer getPayIntervalMoney() {
        return payIntervalMoney;
    }

    public void setPayIntervalMoney(Integer payIntervalMoney) {
        this.payIntervalMoney = payIntervalMoney;
    }

    public Integer getFreeTimes() {
        return freeTimes;
    }

    public void setFreeTimes(Integer freeTimes) {
        this.freeTimes = freeTimes;
    }
    
	public Boolean getWxPreAuthPay() {
		return wxPreAuthPay;
	}

	public void setWxPreAuthPay(Boolean wxPreAuthPay) {
		this.wxPreAuthPay = wxPreAuthPay;
	}

	public String getDepositMoneyStr(){
        return NumberTools.getMoneyStr(this.depositMoney);
    }

    public String getDayMaxMoneyStr(){
        return NumberTools.getMoneyStr(this.dayMaxMoney);
    }

    public String getPayIntervalMoneyStr(){
        return NumberTools.getMoneyStr(this.payIntervalMoney);
    }
}
